home *** CD-ROM | disk | FTP | other *** search
/ Personal Computer World 2009 February / PCWFEB09.iso / Software / Resources / Burning & Media / GB-PVR 1.2.13 / GBPVR10213.msi / Cabs.w1.cab / Admin2.aspx592 < prev    next >
Text File  |  2008-02-23  |  21KB  |  287 lines

  1. <%@ Page language="c#" Inherits="gbweb.Admin2" CodeFile="Admin2.aspx.cs" culture="auto" uiculture="auto" %>
  2. <%@ Register TagPrefix="gbpvr" TagName="Header" Src="Header2.ascx" %>
  3. <%@ Register TagPrefix="gbpvr" TagName="Footer" Src="Footer2.ascx" %>
  4. <!DOCTYPE html PUBLIC ô-//W3C//DTD XHTML 1.1 Strict//ENö ôhttp://www.w3.org/TR/xhtml1/DTD/xhtml11-strict.dtdö>
  5. <html xmlns="http://www.w3.org/1999/xhtml">
  6.     <head>
  7.         <title>GBPVR - Config</title>
  8.         <link rel="shortcut icon" type="image/gif" href="<%=Convert.ToString(Session["theme"])%>/graphics/favicon.gif"/>
  9.         <link rel="stylesheet" type="text/css" href="<%=Convert.ToString(Session["theme"])%>/css/common.css"/>
  10.         <link rel="stylesheet" type="text/css" href="<%=Convert.ToString(Session["theme"])%>/css/admin.css"/>
  11.         <script type="text/javascript" src="public/popup.js"></script>
  12.         <script type="text/javascript" src="public/scrolling.js"></script>
  13.         <script type="text/javascript" src="public/Ajax2.js"></script>
  14.         <script type="text/javascript" src="<%=Convert.ToString(Session["theme"])%>/js/common.js"></script>
  15.         <script type="text/javascript" src="<%=Convert.ToString(Session["theme"])%>/js/admin.js"></script>
  16.         <script type="text/javascript">
  17.             function reload()
  18.             {
  19.                 document.form1.submit();
  20.             }
  21.         </script>
  22.  
  23.     </head>
  24.     <body onload="GetServerTime(),GetReminders(), fScrollMove('CONTENTS'), StartUp()">
  25.         <gbpvr:Header id="headerTheme" runat="server"/>
  26.         <asp:ScriptManager ID="ScriptManager1" runat="server" EnablePageMethods="True">
  27.             <Services>
  28.                 <asp:ServiceReference Path="~/AjaxService2.asmx" />
  29.             </Services>
  30.         </asp:ScriptManager>
  31.         <form id="form1" method="post" runat="server">
  32.             <input runat="server" type="hidden" id="hdnScrollState" />
  33.             <div id="FIXED_DIV">
  34.             </div>
  35.                 <!-- Header Start -->
  36.                 <div id="HEADER">
  37.                     <div id="LOGO_HEADER"></div>
  38.                     <div id="HEADER_TEXT">
  39.                         <span class="textLarge">GB-PVR</span><br/>
  40.                         <span class="textSmall">Enhanced Web Admin</span><br/>
  41.                     </div>
  42.                      <div id="DATE_TIME">
  43.                         <div class="viewingDate" id="viewDate" runat="server"></div>
  44.                         <div class="timeDiv" id="serverTime" runat="server"></div>
  45.                     </div>
  46.                     <!-- Nav Row Start-->
  47.                     <div id="NAV_ROW">
  48.                         <div id="NAV_GUIDE" title="TV Guide" runat="server"><a href="Guide2.aspx">TV Guide</a></div>
  49.                         <div id="NAV_RECORDINGS" title="Manage Recordings" runat="server" ><a href="Manage2.aspx">Manage Recordings</a></div>
  50.                         <div id="NAV_SEARCH" title="Programme Search" runat="server" ><a href="Search2.aspx">Episode Search</a></div>
  51.                         <div id="NAV_VIDEO" title="Video Library" runat="server" ><a href="Library2.aspx?path=Video">Video Library</a></div>
  52.                         <div id="NAV_MUSIC" title="Music Library" runat="server" ><a href="Library2.aspx?path=Music">Music Library</a></div>
  53.                         <div id="NAV_PHOTO" title="Photo Library" runat="server"><a href="Library2.aspx?path=Photo">Photo Library</a></div>
  54.  
  55.                         <div id="NAV_LOGOUT" title="Logout" runat="server"><a href="Logout2.aspx">Logout</a></div>
  56.                         <div id="NAV_CONFIG" title="Configuration" runat="server" ><a href="Admin2.aspx">Config</a></div>
  57.                         <div id="NAV_STATS" title="Statistics" runat="server" ><a href="info2.aspx">Statistics</a></div>
  58.                     </div>
  59.                     <!-- Nav Row End--> 
  60.                 </div>
  61.                 <!-- Header End -->
  62.                 
  63.                 <!-- Dateline Start -->               
  64.                 <div id="DIV_DATELINE">
  65.                 </div>
  66.                 
  67.                 <div id="DATELINE" runat="server">
  68.                     <div id="reminderArea" runat="server">
  69.                         <div id="REMINDER_LABEL" runat="server"><a id="reminderLink"><div id="remDiv" runat="server"></div></a></div>
  70.                         <div id="REMINDER_DIV" runat="server">
  71.                         </div>
  72.                     </div>  
  73.                 </div>
  74.                 <!-- Dateline End --> 
  75.                 
  76.                 <!-- dividing line or graphic here -->
  77.                 <div id="DIV_HEADER">    
  78.                 </div>
  79.                 
  80.                 <!-- EWA Configuration Line Start -->
  81.                 <div id="ADMIN_HEADER" runat="server">
  82.                     <div id="adminLabel" class="adminLabel" runat="server">EWA Configuration</div>
  83.                     <div id="forcedScrollbar" runat="server">                        
  84.                     </div>                    
  85.                 </div>
  86.                 
  87.                 <div id="buttonArea" class="buttonArea" runat="server">
  88.                     <span class="butSubmit" id="butSubmit" runat="server"><asp:LinkButton id="hlSubmitT" runat="server" onclick="hlSubmit_Click">Submit</asp:LinkButton></span>
  89.                     <span class="butReset" id="butReset" runat="server"><asp:HyperLink NavigateUrl="#" id="HyperLink1" runat="server" OnClick="document.Form1.reset();return false;">Reset</asp:HyperLink></span>
  90.                     <asp:Label CssClass="errorMsg" id="lblAutologinWarning" runat="server"></asp:Label>
  91.                 </div>
  92.                 
  93.                 <div id="DIV_CONTENTS" runat="server"></div>
  94.                 
  95.                 <div id="CONTENTS" runat="server">                
  96.                     
  97.                     <!-- EWA General Settings -->
  98.                     <div id="EWAConfigFrame" class="EWAConfigFrame" runat="server"></div>
  99.                     <div id="EWAConfigHeading" class="EWAConfigHeading" runat="server">-- EWA Configuration Setttings --</div>
  100.                     <div id="EWATabsLabel" class="EWATabsLabel" runat="server">Standard EWA Tabs to Display:</div>
  101.                     <div id="EWATabs" class="EWATabs" runat="server">
  102.                        <asp:CheckBoxList ID="displayTabs" runat="server" RepeatDirection="Horizontal" RepeatLayout="Flow" Width="655px">
  103.                             <asp:ListItem Value="guide">TV Guide</asp:ListItem>
  104.                             <asp:ListItem Value="manage">Manage Recordings</asp:ListItem>
  105.                             <asp:ListItem Value="search">Episode Search</asp:ListItem>
  106.                             <asp:ListItem Value="vlibrary">Video Library</asp:ListItem>
  107.                             <asp:ListItem Value="mlibrary">Music Library</asp:ListItem>
  108.                             <asp:ListItem Value="plibrary">Photo Library</asp:ListItem>
  109.                             <asp:ListItem Value="stats">Statistics</asp:ListItem>
  110.                         </asp:CheckBoxList>
  111.                     </div>
  112.                     <div id="autoLoginLabel" class="autoLoginLabel" runat="server">Automatic Login Range:</div>
  113.                     <div id="autoLogin" class="autoLogin" runat="server">
  114.                         <asp:TextBox id="txtAutologinList" runat="server" Columns="60">127.0.0.0/8,10.0.0.0/8,172.16.0.0/12,192.168.0.0/16,169.254.0.0/16</asp:TextBox>
  115.                     </div>
  116.                     <div id="autoLoginButtons" class="autoLoginButtons" runat="server">
  117.                         <span class="butInternal" id="butInternal" runat="server"><asp:LinkButton id="hlAutologinInternal" runat="server" onclick="hlAutologinInternal_Click">Internal</asp:LinkButton></span>
  118.                         <span class="butNone" id="butNone" runat="server"><asp:LinkButton id="hlAutologinNone" runat="server" CssClass="btn-normal-small" onclick="hlAutologinNone_Click">None</asp:LinkButton></span>
  119.                         <span>(<a href="http://en.wikipedia.org/wiki/IPv4_subnetting_reference" target="_blank">help</a>)</span>
  120.                     </div>
  121.                     <div id="guestLabel" class="guestLabel" runat="server">Guest User Information:</div>
  122.                     <div id="guestIdLabel" class="guestIdLabel" runat="server">Id:</div>
  123.                     <input id="guestUser" class="guestUser" type="text" runat="server"/>
  124.                     <div id="guestPasswordLabel" class="guestPasswordLabel" runat="server">Password:</div>
  125.                     <input id="guestPassword" class="guestPassword" type="password" runat="server"/>
  126.                     <div id="extensionLabel" class="extensionLabel" runat="server">Playlist Extension:</div>
  127.                     <div class="playlistExtension">
  128.                         <input id="playlistExtension" type="text" size="5" value="m3u" name="txtTimelineRepeat" runat="server"/>(used for webadmin playback)
  129.                     </div>
  130.                     <div id="recordingQualityLabel" class="recordingQualityLabel" runat="server">Default Recording Quality:</div>
  131.                     <div class="recordingQuality">
  132.                         <asp:DropDownList id="dropdownRecordingQuality" runat="server">
  133.                             <asp:ListItem Value="High">High</asp:ListItem>
  134.                             <asp:ListItem Value="Medium" Selected="True">Medium</asp:ListItem>
  135.                             <asp:ListItem Value="Low">Low</asp:ListItem>
  136.                             <asp:ListItem Value="Custom1">Custom1</asp:ListItem>
  137.                             <asp:ListItem Value="Custom2">Custom2</asp:ListItem>
  138.                         </asp:DropDownList>
  139.                     </div>
  140.                     <div id="themeLabel" class="themeLabel" runat="server">Theme:</div>
  141.                     <div class="theme">
  142.                         <asp:DropDownList id="dropdownThemes" runat="server"></asp:DropDownList>
  143.                     </div>
  144.                     
  145.                        
  146.                     <!-- EPG Settings -->
  147.                     <div id="EPGFrame" class="EPGFrame" runat="server"></div>
  148.                     <div id="EPGHeading" class="EPGHeading" runat="server">-- Guide Settings --</div>
  149.                     <div id="minuteSpanLabel" class="minuteSpanLabel" runat="server">Minute Span:</div>
  150.                     <div class="minuteSpan">
  151.                         <input type="text" name="txtMinuteSpan" size="5" id="txtMinuteSpan" runat="server"/>(how many minutes to show at once in the guide)
  152.                     </div>
  153.                     <div id="minueIntervalLabel" class="minuteIntervalLabel" runat="server">Minute Interval:</div>
  154.                     <div class="minuteInterval">
  155.                         <input type="text" name="txtMinuteInterval" size="5" id="txtMinuteInterval" runat="server"/>(number of minutes per division in the timeline)
  156.                     </div>
  157.                     <div id="minuteSliceLabel" class="minuteSliceLabel" runat="server">Minute Slice:</div>
  158.                     <div class="minuteSlice">
  159.                         <input type="text" name="txtMinuteSlice" size="5" id="txtMinuteSlice" runat="server"/>(accuracy of program layout)
  160.                     </div>
  161.                     <div id="timelineRepeatLabel" class="timelineRepeateLabel" runat="server">Timeline Repeat:</div>
  162.                     <div class="timelineRepeate">
  163.                         <input type="text" name="txtTimelineRepeat" size="5" id="txtTimelineRepeat" runat="server"/>
  164.                     </div>
  165.                     <div id="defaultStartLabel" class="defaultStartLabel" runat="server">Default Guide Start Time:</div>
  166.                     <div class="defaultStart">
  167.                         <asp:TextBox ID="guideStartTime" runat="server" CausesValidation="True" Width="57px"></asp:TextBox>(blank for current time. valid = 00:00-23:59)
  168.                         <asp:RegularExpressionValidator ID="validateGuideStartTime" runat="server" ControlToValidate="guideStartTime"
  169.                                         ErrorMessage="Invalid" Font-Bold="True" ValidationExpression="^([0-1][0-9]|[2][0-3]):([0-5][0-9])$"
  170.                                         Width="54px"></asp:RegularExpressionValidator>
  171.                     </div>
  172.                     <div id="reminderNotificationLabel" class="reminderNotificationLabel" runat="server">Reminder Notification:</div>
  173.                     <div class="reminderNotification">
  174.                         <input type="text" id="txtReminderDays" runat="server" maxlength="2" style="width: 28px"/>
  175.                         <input type="text" id="txtReminderHours" runat="server" maxlength="2" style="width: 28px"/>
  176.                         <input type="text" id="txtReminderMinutes" runat="server" maxlength="2" style="width: 28px"/>(Days/hours/minutes prior to show start for reminder to display)
  177.                     </div>
  178.                     <div id="killRemindersLabel" class="killRemindersLabel" runat="server">Kill All Set Reminders:</div>
  179.                     <div class="killRemindersButton">
  180.                         <span class="butKillReminders"><asp:LinkButton ID="KillAllReminders" runat="server" OnClick="Kill_All_Reminders_Click" ToolTip="Click this button to delete all reminders currently set.">Kill Reminders</asp:LinkButton></span>
  181.                     </div>
  182.                     <div id="autoSearchLabel" class="autoSearchLabel" runat="server">Enable Auto-Search:</div>
  183.                     <div class="autoSearch">
  184.                         <asp:RadioButtonList id="autoShowSearch" runat="server" RepeatDirection="Horizontal" RepeatLayout="Flow" OnSelectedIndexChanged="hlSubmit_Click" Width="75px" ToolTip="Select Yes if you would like EWA to perform a daily auto-search using your saved searches that you have flagged to be included in the auto-search.   Selecting No disables the auto-search functionality.">
  185.                                         <asp:ListItem Value="True">Yes</asp:ListItem>
  186.                                         <asp:ListItem Selected="True" Value="False">No</asp:ListItem>
  187.                          </asp:RadioButtonList> (Set Reminders)
  188.                     </div>
  189.                     <div id="autoRecordLabel" class="autoRecordLabel" runat="server">Enable Auto-Record:</div>
  190.                     <div class="autoRecord">
  191.                          <asp:RadioButtonList id="autoRecordSearch" runat="server" RepeatDirection="Horizontal" RepeatLayout="Flow" OnSelectedIndexChanged="hlSubmit_Click" Width="75px" ToolTip="Select Yes if you would like EWA to perform a daily auto-search using your saved searches that you have flagged to be included in the auto-search.   Selecting No disables the auto-search functionality.">
  192.                                         <asp:ListItem Value="True">Yes</asp:ListItem>
  193.                                         <asp:ListItem Selected="True" Value="False">No</asp:ListItem>
  194.                          </asp:RadioButtonList> (Record Programmes)
  195.                     </div>
  196.                     <div id="searchDaysLabel" class="searchDaysLabel" runat="server">Auto-Search EPG Days:</div>
  197.                     <div class="searchDays">
  198.                         <input id="autoSearchEPGDays" type="text" name="autoSearchEPGDays" runat="server" style="width: 40px" title="Number of days in EPG that Auto-Search should search."/>                        
  199.                     </div>
  200.                     <div class="searchButton">
  201.                         <span class="butAutoSearch"><asp:LinkButton ID="forceAutoSearch" runat="server" OnClick="forceSearch_Click" ToolTip="Click this button for auto-search to occur immediatly.">Search Now</asp:LinkButton></span>
  202.                     </div>
  203.                     
  204.                     <div id="programmeItemsLabel" class="programmeItemsLabel" runat="server">Programme Items to Display:</div>
  205.                     <div class="programmeItems">
  206.                         <asp:CheckBox id="showSubtitle" runat="server"></asp:CheckBox>Subtitle
  207.                         <asp:CheckBox id="showIMDB" runat="server"></asp:CheckBox>IMDB Link
  208.                         <asp:CheckBox id="showNetflix" runat="server"></asp:CheckBox>Netflix Link
  209.                         <asp:CheckBox id="showWiki" runat="server"></asp:CheckBox>Wikipedia Link
  210.                         <asp:CheckBox ID="showTVCom" runat="server"></asp:CheckBox>TV.Com Link
  211.                         <asp:CheckBox id="showDescription" runat="server"></asp:CheckBox>Description
  212.                         <asp:CheckBox id="showRating" runat="server"></asp:CheckBox>Rating
  213.                         <br />
  214.                         <asp:RadioButtonList id="UseChannelIcons" runat="server" CssClass="listing" RepeatDirection="Horizontal" RepeatLayout="Flow">
  215.                             <asp:ListItem Value="chnlText">Channel Text</asp:ListItem>
  216.                             <asp:ListItem Value="chnlIcon">Channel Icons</asp:ListItem>
  217.                             <asp:ListItem Value="chnlBoth">Channel Text and Icons</asp:ListItem>
  218.                         </asp:RadioButtonList>
  219.                         <br />
  220.                         <asp:RadioButtonList id="showGenre" runat="server" CssClass="listing" RepeatDirection="Horizontal" RepeatLayout="Flow" Width="442px">
  221.                             <asp:ListItem Value="noGenre">Show No Genres</asp:ListItem>
  222.                             <asp:ListItem Value="singleGenre">Show Single Best Genre</asp:ListItem>
  223.                             <asp:ListItem Value="allGenre">Show All Genres</asp:ListItem>
  224.                         </asp:RadioButtonList>
  225.                         <br />
  226.                         <span id="spanExtendedEWA" runat="server">
  227.                             <asp:CheckBox id="showNew" runat="server" Text="Show New"></asp:CheckBox>
  228.                             <asp:CheckBox id="showCredits" runat="server" Text="Show Credits"></asp:CheckBox>
  229.                             <asp:CheckBox id="showAirDate" runat="server" Text="Show Air/Release Date"></asp:CheckBox>
  230.                             <asp:CheckBox id="showStarRating" runat="server" Text="Show Star Rating"></asp:CheckBox>
  231.                             <asp:CheckBox id="showHD" runat="server" Text="Show HD"></asp:CheckBox>
  232.                         </span>
  233.                     </div>
  234.                     <div id="iconSizeLabel" class="iconSizeLabel" runat="server">Channel Icon Size:</div>
  235.                     <div class="iconSize">
  236.                         <input type="text" name="txtChnlIconW" size="4" id="txtChnlIconW" runat="server" maxlength="3"/>    x 
  237.                         <input type="text" name="txtChnlIconH" size="4" id="txtChnlIconH" runat="server" maxlength="3"/>
  238.                     </div>
  239.                     <div class="defaultButton">
  240.                         <span class="butDefaultIcon"><asp:LinkButton id="sizeDefault" runat="server" CssClass="btn-normal-small" onclick="sizeDefault_Click">Default</asp:LinkButton></span>
  241.                     </div>
  242.                     
  243.                                            
  244.                     <!-- Streamer Settings -->
  245.                     <div id="streamerFrame" class="streamerFrame" runat="server"></div>
  246.                     <div id="streamerHeading" class="streamerHeading" runat="server">-- Streamer Configuration Settings --</div>
  247.                     <div id="VLCLocationLabelV" class="VLCLocationLabelV" runat="server">VLC Location (Video):</div>
  248.                     <div class="VLCLocationV">
  249.                         <asp:TextBox ID="strmVLCLoc" runat="server" Width="409px">C:\Program Files\VideoLAN\Vlc\</asp:TextBox>
  250.                     </div>
  251.                     <div id="VLCPlayerLabelV" class="VLCPlayerLabelV" runat="server">Stream Player (Video):</div>
  252.                     <div class="VLCPlayerV">
  253.                             <asp:DropDownList ID="streamPlayer" runat="server">
  254.                                 <asp:ListItem Selected="True" Value="vlc">VLC</asp:ListItem>
  255.                                 <asp:ListItem Value="wmp">WMP</asp:ListItem>
  256.                         </asp:DropDownList>
  257.                         <asp:CheckBox ID="externalPlayer" runat="server" /> Open Stream in External Player
  258.                     </div>
  259.                     <div id="VLCLocationLabelA" class="VLCLocationLabelA" runat="server">VLC Location (Audio):</div>
  260.                     <div class="VLCLocationA">
  261.                         <asp:TextBox ID="strmVLCLoc2" runat="server" Width="409px">C:\Program Files\VideoLAN\Vlc\</asp:TextBox>
  262.                     </div>
  263.                     <div id="VLCPlayerA" class="VLCPlayerLabelA" runat="server">Stream Player (Audio):</div>
  264.                     <div class="VLCPlayerA">
  265.                         <asp:DropDownList ID="streamPlayer2" runat="server">
  266.                             <asp:ListItem Selected="True" Value="vlc">VLC</asp:ListItem>
  267.                             <asp:ListItem Value="wmp">WMP</asp:ListItem>
  268.                         </asp:DropDownList>
  269.                         <asp:CheckBox ID="externalPlayer2" runat="server" /> Open Stream in External Player
  270.                     </div>
  271.                 </div>
  272.         
  273.         <!-- Footer Start -->
  274.         <div id="DIV_FOOTER" runat="server">
  275.         </div>
  276.         
  277.         <div id="FOOTER" runat="server">
  278.  
  279.             <div id="FOOTER_RIGHT" runat="server">
  280.                 <gbpvr:Footer id="footer1" runat="server"/>
  281.             </div>
  282.         </div>
  283.         <!-- Footer End -->
  284.         </form>
  285.     </body>
  286. </html>
  287.